import request from '@/utils/request'

// 查询宗教堂点列表
export function listReligious_site(query) {
  return request({
    url: '/report/religious_site/list',
    method: 'get',
    params: query
  })
}

// 查询宗教堂点详细
export function getReligious_site(id) {
  return request({
    url: '/report/religious_site/' + id,
    method: 'get'
  })
}

// 新增宗教堂点
export function addReligious_site(data) {
  return request({
    url: '/report/religious_site',
    method: 'post',
    data: data
  })
}

// 修改宗教堂点
export function updateReligious_site(data) {
  return request({
    url: '/report/religious_site',
    method: 'put',
    data: data
  })
}

// 删除宗教堂点
export function delReligious_site(id) {
  return request({
    url: '/report/religious_site/' + id,
    method: 'delete'
  })
}
